
#include "test.h"
#include <RingBuffer.hpp>
#include <iostream>

int main() {
    RingBuffer<A> ringBuff;

    for (int i = 0; i < 512; ++i) {
        // std::cout<<" write : " << i << "\n";
        ringBuff.write(i);
    }

    for (int i = 0; i < 512; ++i) {
        std::cout << " read : " << ringBuff.read() << "\n";
    }

    return 0;
}
